/**
 * Copyright 2009. Felix Dorner.
 * This code is licensed under the Eclipse Public License v1.0
 * http://www.eclipse.org/org/documents/epl-v10.html
 *
 * $Id$
 */
package com.objectcarpentry.kaylee;

import org.eclipse.emf.ecore.EObject;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Playable</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link com.objectcarpentry.kaylee.Playable#getState <em>State</em>}</li>
 * </ul>
 * </p>
 *
 * @see com.objectcarpentry.kaylee.KayleePackage#getPlayable()
 * @model abstract="true" superTypes="com.objectcarpentry.kaylee.IPlayable"
 * @generated
 */
public interface Playable extends EObject, IPlayable {
	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	String copyright = "Copyright 2009. Felix Dorner.\nThis code is licensed under the Eclipse Public License v1.0\nhttp://www.eclipse.org/org/documents/epl-v10.html";

	/**
	 * Returns the value of the '<em><b>State</b></em>' attribute.
	 * The default value is <code>"STOPPED"</code>.
	 * The literals are from the enumeration {@link com.objectcarpentry.kaylee.PlayableState}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>State</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>State</em>' attribute.
	 * @see com.objectcarpentry.kaylee.PlayableState
	 * @see #setState(PlayableState)
	 * @see com.objectcarpentry.kaylee.KayleePackage#getPlayable_State()
	 * @model default="STOPPED"
	 * @generated
	 */
	PlayableState getState();

	/**
	 * Sets the value of the '{@link com.objectcarpentry.kaylee.Playable#getState <em>State</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>State</em>' attribute.
	 * @see com.objectcarpentry.kaylee.PlayableState
	 * @see #getState()
	 * @generated
	 */
	void setState(PlayableState value);

} // Playable
